let ForgetPassword = {
    path: '/ForgetPassword',
    name: 'ForgetPassword',
    component: () => import('../../../views/Personal/Password/Home.vue'),
    beforeEnter: (to, from, next) => {
        for (let i = 1; i <= 8; i++) {
            if (from.name == ('page' + i)) {
                next()
            } else if (from.name == 'PersonalPassword') {
                next()
            } else if (from.name == 'CompanyPassword') {
                next()
            }else if(sessionStorage.getItem('fName') && sessionStorage.getItem('fName')=='ForgetPassword'){
                next()
            }
        }
    }
}
export default ForgetPassword